﻿using Coldairarrow.Entity.Goods;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Goods
{
    public interface IBTB_BannerBusiness
    {
        #region 后台
        Task<PageResult<BTB_Banner>> GetPreferentialListAsync(PageInput<BTB_Banner> input);
        Task<PageResult<BTB_Banner>> GetHomeListAsync(PageInput<ConditionDTO> input);
        Task<List<BTB_Banner>> GetTheDataAsync(string id);
        Task AddDataAsync(BTB_Banner data);
        Task UpdateDataAsync(BTB_Banner data);
        Task DeleteDataAsync(List<string> ids);
        #endregion
        #region 前台
        Task<List<BTB_Banner>> GetData(int type);
        #endregion
    }
}